package com.qf.day10;

public class StringDemo {
    public static void main(String[] args) {
        String s1="龘龘";
        System.out.println(s1.codePointAt(0));
        System.out.println(s1.charAt(0));
        int[]arr={40856,40856,40856,40856,128522};
        String s=new String(arr,0,5);
        System.out.println(s);
        //包含
        System.out.println(s1.contains("龘"));
        System.out.println(s1.contains("我"));
    }
}
